package cn.tedu.egnotice0806.mapper;

import cn.tedu.egnotice0806.pojo.dto.NoticeAddQuery;
import cn.tedu.egnotice0806.pojo.entity.Notice;
import cn.tedu.egnotice0806.pojo.vo.NoticeDetailInfoVO;
import cn.tedu.egnotice0806.pojo.vo.NoticeListVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

public interface NoticeMapper {

    int insertNotice(Notice notice);

    List<NoticeListVo> selectNoticeList(NoticeAddQuery noticeAddQuery);

    NoticeDetailInfoVO selectNoticeDetailById(Long id);

    int deleteNoticeById(Long id);

    int updateNoticeById(Notice notice);
}
